<?php

namespace app\index\validate;

use think\Validate;

/**
 * Class Image
 * @package app\index\validate
 */
class Image extends Validate
{
    protected $rule = [
        'name|图片名称' => 'require'
    ];

    protected $scene = [
        // 上传
        'upload' => [
            'name'
        ]
    ];
}
